#include<bits/stdc++.h>

int main(){
	 
	freopen("replace.in","r",stdin);
	freopen("replace.out","r",stdout);
	
	cout<<2<<endl<<0;
	return 0;
} 
